package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 充值栏目对象 jiajia_chongzhi
 * 
 * @author knd
 * @date 2021-10-13
 */
public class JiajiaChongzhi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal chongZhiMoney;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    private BigDecimal zengSongMoney;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否删除,0否1是 */
    @Excel(name = "是否删除,0否1是")
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setChongZhiMoney(BigDecimal chongZhiMoney) 
    {
        this.chongZhiMoney = chongZhiMoney;
    }

    public BigDecimal getChongZhiMoney() 
    {
        return chongZhiMoney;
    }
    public void setZengSongMoney(BigDecimal zengSongMoney) 
    {
        this.zengSongMoney = zengSongMoney;
    }

    public BigDecimal getZengSongMoney() 
    {
        return zengSongMoney;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("chongZhiMoney", getChongZhiMoney())
            .append("zengSongMoney", getZengSongMoney())
            .append("sort", getSort())
            .append("del", getDel())
            .toString();
    }
}
